package com.vue.vue.service;


import com.vue.vue.pojo.User;
import com.vue.vue.vo.ResponseVo;

import java.util.List;

public interface IUserService {


    /**
     * 注册
     */
    ResponseVo<User> register(User user);

    /**
     * 登录
     */
    ResponseVo<User> login(String username, String password);

    /**
     * 查询所有用户
     */
    List<User> selectAll();
}
